home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global nTempo
- if nTempo > 60 then
- set nTempo to nTempo - 60
- set the member of sprite 8 to member string(nTempo / 60) of castLib "Elementos graficos"
- updateStage()
- else
- set nTempo to 60
- end if
- startTimer()
- repeat while the stillDown
- if the timer > 30 then
- if nTempo > 60 then
- set nTempo to nTempo - 60
- set the member of sprite 8 to member string(nTempo / 60) of castLib "Elementos graficos"
- updateStage()
- else
- set nTempo to 60
- end if
- set nDelay to the timer + 5
- repeat while the timer < nDelay
- set xx to xx + 1
- end repeat
- end if
- end repeat
- end
-